From: Bilal Elmoussaoui Date: Tue, 14 Apr 2026 17:49:07 +0000 (+0200) Subject: st/button: Prefer notify_by_pspec where possible X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~10^2^2~46 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b03c734dfb7948d43638f417efb8aabbae0b44af;p=gnome-shell.git st/button: Prefer notify_by_pspec where possible Avoids the property by name lookup Part-of: --- diff --git a/src/st/st-button.c b/src/st/st-button.c index f509cf4f3..b1d3b913f 100644 --- a/src/st/st-button.c +++ b/src/st/st-button.c @@ -161,7 +161,7 @@ button_click_gesture_notify_pressed_cb (GObject *gobject, else st_widget_remove_style_pseudo_class (widget, "active"); - g_object_notify (G_OBJECT (widget), "pressed"); + g_object_notify_by_pspec (G_OBJECT (widget), props[PROP_PRESSED]); } static gboolean